.safe-area-container {
    position: relative; /* Change from fixed to relative */
    width: 100%;
}

.container {
    background-color: #f5f5f5;
    min-height: 100vh; /* Use min-height instead of fixed height */
    position: relative;
    overflow-y: auto; /* Allow vertical scrolling */
    padding-bottom: 100rpx; /* Add some bottom padding to ensure full scrollability */
}

.fixed-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: #F8F9FD;
    z-index: 999;
}

.safe-area {
    height: 120rpx;
    width: 100%;
}

.header {
    padding-top: 40rpx;
    padding-left: 30rpx;
    padding-right: 30rpx;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.qr-code {
    width: 48rpx;
    height: 48rpx;
}

.edit-btn {
    font-size: 32rpx;
    color: #333;
}



.content {
    padding: 0 30rpx;
}

.header-placeholder {
    height: 240rpx;
}

/* 个人信息区域样式 */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20rpx 0 10rpx;
}

.avatar {
    width: 200rpx;
    height: 200rpx;
    border-radius: 50%;
    margin-bottom: 10rpx;
}

.name {
    font-size: 40rpx;
    font-weight: bold;
    color: #333;
    margin-bottom: 10rpx;
}

.phone {
    font-size: 28rpx;
    color: #666;
    margin-bottom: 20rpx;
}

/* 设置列表样式 */
.settings-group {
    background: white;
    border-radius: 30rpx;
    overflow: hidden;
    margin-bottom: 30rpx;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);  /* 添加阴影效果，增加浮动感 */
}


.settings-group1 {
    background: white;
    border-radius: 30rpx;
    overflow: hidden;
    margin-bottom: 30rpx;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);  /* 添加阴影效果，增加浮动感 */
}

.settings-group3 {
    background: white;
    border-radius: 30rpx;
    overflow: hidden;
    box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);  /* 添加阴影效果，增加浮动感 */
    margin-bottom: 140rpx;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30rpx;
    border-bottom: 1rpx solid #f5f5f5;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-left {
    display: flex;
    align-items: center;
}

.setting-icon {
    width: 45rpx;
    height: 45rpx;
    margin-right: 20rpx;
}

.setting-text {
    font-size: 32rpx;
    color: #333;
}

.before-arrow text{
    font-size: 32rpx;
    color: #BEBEBE;
}

.before-arrow image{
    margin-left: 15rpx;
}

.arrow {
    width: 32rpx;
    height: 32rpx;
}

/* 底部导航栏样式 */
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120rpx;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding-bottom: env(safe-area-inset-bottom);
    box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);
    z-index: 999; /* 确保导航栏在最上层 */
}

.tab-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.tab-item.active {
    color: #4C6FFF;
}

/* 激活状态下的文字颜色 */
.tab-item.active .tab-text {
    color: #333;
    font-weight: 500;
    transform: scale(1.05);
}

.tab-icon {
    width: 48rpx;
    height: 48rpx;
    margin-bottom: 6rpx;
    transition: all 0.3s ease-in-out;
}

/* 设置图标旋转动画 */
.tab-item[data-tab="setting"].active .tab-icon {
    transform: rotate(180deg);
}

/* 其他图标放大动画 */
.tab-item:not([data-tab="setting"]).active .tab-icon {
    transform: scale(1.1);
}

.tab-text {
    font-size: 24rpx;
    transition: all 0.3s ease-in-out;
    color: #666;
}

.tab-item-center {
    transform: translateY(-30rpx);
    position: relative;
    z-index: 10;
}

/* 中间按钮样式 */
.center-button {
    width: 100rpx;
    height: 100rpx;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background-color: #4C6FFF;
    padding: 20rpx;
    box-shadow: 0 4rpx 8rpx rgba(76, 111, 255, 0.3);
}

/* 激活状态的样式 */
.center-button.active {
    background-color: #FF69B4;
    box-shadow: 0 4rpx 8rpx rgba(255, 105, 180, 0.3);
    animation: bounceAndRotate 0.3s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.center-button image {
    width: 60%;
    height: 60%;
    filter: brightness(0) invert(1);
}

.center-button.active image {
    filter: brightness(0) invert(1);
}

/* 组合动画 */
@keyframes bounceAndRotate {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-15rpx) rotate(180deg);
    }
}

/* 添加点击效果 */
.center-button:active {
    transform: scale(0.95);
}

/* 移除原来的加号样式 */
.center-icon {
    display: none;
}

.threshold-value {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 28rpx;
}

.threshold-value text {
    margin-right: 20rpx;
}

.threshold-value .arrow {
    width: 32rpx;
    height: 32rpx;
}